Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

chore: refactor svix away from getServerSideProps #1716

Merged
merged 2 commits into from
Oct 12, 2023
Merged

Conversation

asdfryan
Copy link
Contributor

Context: we are calling a Svix call on every getServerSideProps, even on pages that don't need it. This is adding ~200-300ms of latency to each page load.

I've refactored it to move the Svix call to just that tab only. This requires moving the Svix API key to NEXT_PUBLIC_...

@vercel
Copy link

vercel bot commented Oct 11, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
management-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 11, 2023 7:06pm
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
supaglue-docs ⬜️ Ignored (Inspect) Visit Preview Oct 11, 2023 7:06pm

@asdfryan asdfryan merged commit 20a08a8 into main Oct 12, 2023
3 checks passed
@asdfryan asdfryan deleted the refactor_svix branch October 12, 2023 00:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants